<template>
  <div class="app-container">
    <div>
      <span>欢迎 【{{ userInfo.name || 'undefind' }}】 进入管理系统</span>

      <!-- 阿里巴巴云的新增图标使用 -->
      <icon-font class="iconFont" type="icon-img2461162036f7d48" />
    </div>
  </div>
</template>

<script>
import { mapGetters } from 'vuex';
export default {
  props: {},
  components: {},
  data() {
    return {};
  },
  created() {
    this.initDataFun(); // 初始化数据
  },
  mounted() {},
  beforeDestroy() {},
  watch: {},
  computed: {
    ...mapGetters(['userInfo']),
  },
  methods: {
    // 初始化数据
    initDataFun() {},
  },
};
</script>

<style lang="less" scoped>
.app-container {
  display: flex;
  justify-content: center;
  align-items: center;
  background-color: aliceblue;
  font-size: 60px;
}
</style>
